package StudyCode.summary.Basic;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class EnumAllValues {
	public static void main(String[] args) {
		for(Test test : Test.values()) {
			System.out.println( test.name() + "(" + test.ordinal() + ")");
		}
	}
}

enum Test {
	Test1, Test2, Test3, Test4,Test5;
}